package com.witdata.common.domain.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class QuestionDto {

    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    private String title;

    private String type;

    private Integer score;

    private String answer;

    private LocalDateTime created;

    private LocalDateTime updated;
}
